<script>
	export default {
		onLaunch: function() {
			console.log('App Launch');
			uni.getSystemInfo({
				success: function(e) {

				},
			})
			setTimeout(() => {
				uni.setTabBarBadge({
					index: 2,
					text: '31'
				});
				uni.showTabBarRedDot({
					index: 3
				});
			}, 1000);
		},
		onShow: function() {
			console.log('App Show');
		},
		onHide: function() {
			console.log('App Hide');
		}
	};
</script>

<style>
	/*每个页面公共css */
	@import url("./common/css/style.css");
	@import url("./common/css/uni.css");
</style>
